Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to start Proftpd

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "how to start Proftpd", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "how to start Proftpd" this article.

ProFTPD is the most popular FTP server software after Wu-FTP.

Start the test

For the author's experimental system RedHat6.2, it is necessary to put the configuration file into:

Group nogrou! P

Modified to:

Group nobody

Because nobody users in redhat systems belong to the nobody group, not the nogroup group.

If you need to set proftpd to start automatically when the system starts, copy the startup file with the following command:

[root@ftpd proftpd-1.2.0rc3] # cp. / contrib/dist/rpm/proftpd.init.d / etc/rc.d

/ init.d/proftpd

Then modify the executable properties of the script:

[root@ftpd /] # chmod + x / etc/rc.d/init.d/proftpd

Then edit / etc/rc.d/init.d/functions:

Modify

Export PATH= "/ sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"

For

Export PATH= "/ sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin"

Note: if you will specify that proftpd will be installed in the / usr/sbin directory with the-- prefix option when running the. / cofigure command! Record

There is no need to modify the fuctions file.

Then run the command:

[root@ftpd rc3.d] # chkconfig-- level 35 proftpd on

The next time the system starts, proftpd will start automatically.

*. You need to make sure that there is no ftp server running on the system:

[root@ftpd /] # netstat-ln

If the output does not contain

Tcp 0 0 0.0.0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0

Such content can start proftpd directly, otherwise you need to shut down the previous ftpd server. For general defaults

For Linux installation, you need to shut down the ftp server in the following ways:

Edit / etc/inetd.conf file, in

Ftp stream tcp nowait root / usr/sbin/tcpd in.ftpd-l-a

Add # before the line:

# ftp stream tcp nowait root / usr/sbin/tcpd in.ftpd-l-a

Then:

[root@ftpd! /] # ps ax | grep inetd

350? S 0:00 inetd

Get the process number of inetd and restart the inetd process:

[root@ftpd /] # kill-HUP 350

Then start proftpd with the following command:

[root@ftpd /] # / etc/rc.d/init.d/proftpd start

At this point, you can test whether proftpd is running properly with the following command:

C:WINDOWS > ftp 192.168.2.33

Connected to 192.168.2.33.

220 ProFTPD 1.2.0rc3 Server (ProFTPD Default Installation) [ftpd.test.com.cn]

User (192.168.2.33: (none)): ideal

Password:

230 User ideal logged in.

Ftp >

Now you have a secure and reliable ftp server.

These are all the contents of the article "how to start Proftpd". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report