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 install Proftpd under RedHat AS4.6

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Editor to share with you how to install Proftpd under RedHat AS4.6. I hope you will get something after reading this article. Let's discuss it together.

The procedure for installing Proftp under RedHat is as follows:

1. download

Download address: proftpd-1.3.1.tar.gz

two。 Installation

# tar zvxf proftpd-1.3.1.tar.gz # cd proftpd-1.3.1 #. / configure-- prefix=/myserver/proftp (create the directory mkdir-p / myserver/proftp first) # make; make install

3. Modify the configuration file

# vi / myserver/proftp/etc/proftpd.conf

Change Group nogroup to Group nobody

4. Start services (add to system services)

# cp contrib/dist/rpm/proftpd.init.d / etc/rc.d/init.d/proftpd # vi / etc/rc.d/init.d/proftpd

Modify the following line to:

PATH= "$PATH:/myserver/proftp/sbin:/etc/proftpd/bin" (installation directory: / myserver/proftp)

# chmod + x / etc/rc.d/init.d/proftpd # chkconfig-- add proftpd # service proftpd start

5. Log in as an anonymous user

The login path for anonymous users (anonymous or ftp) is / var/ftp, if not, it needs to be established.

Then, you can access it through ftp://ip!

6. Create users that can be uploaded and downloaded (tangling is used for this article)

# useradd tangling-d / var/ftp-g ftp # passwd tangling

Set the password to lagrid

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