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

File sharing: vsftp

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Ftp is an abbreviation for File transfer Protocol. It is used to upload and download files.

Ftp works in Cramp S architecture mode.

Client/ S architecture: is the client-side server access mode of the server. The characteristic of Chand S is that the client must use a dedicated client access program to access the server.

Bounce S architecture: browser browser, server server access mode. The characteristic of BPY S is that clients need browsers such as EI,Firefox to access the server. * BPX S architecture is usually used to develop applications based on web websites.

Vsftpd: is a very secure ftp daemon (Very secure ftp Daemon).

Process: a program in progress (running running).

Daemon Daemon: all programs in the network service class will have daemons. A daemon is a program that monitors service access status in real time. It usually runs in the background of the system.

The working port of FTP:

The 21 control port is used to establish a connection between the client and the server.

20 data port. Used for the server to actively connect data to the client.

The deployment idea of vsftpd (the general idea of network service deployment)

Shut down the security system

Systemctl stop firewalld

Systemctl status firewalld

Setenforce 0

Getenforce installation service and client software package (for internal testing)

Rpm-q vsftpd lftp ftp

Yum install-y vsftpd ftp lftp (yum source needs to be installed)

Rpm-ql vsftpd

Rpm-qc vsftpdvsftpd service management

Systemctl restart vsftpd

Systemctl enable vsftpd

Systemctl status vsftpd configuration vsftpd file

Rpm-qc vsftpd

/ etc/logrotate.d/vsftpd Log Roll Policy File

/ etc/pam.d/vsftpd pam certification document (key point)

/ etc/vsftpd/ftpusers blacklist file (focus)

/ etc/vsftpd/user_list user access list file (emphasis). The default is blacklist, but it can be set to whitelist.

/ main configuration file for etc/vsftpd/vsftpd.conf service (focus)

The contents of the configuration file related to vsftpd

Grep-nEv'^ # | ^ $'/ etc/vsftpd/vsftpd.conf means to add a line number and remove the # sign from / etc/vaftpd/vsftpd.conf

Create a vftper user and set the vftoer login password. On the 192.168.11.1 window physical computer, use the vftper user to access the vsftpd server and upload any file to the user's home directory.

Useradd vftper

Echo 01 | passwd-- stdin vftper

Win+E

Enter ftp://192.168.11.11/

Landing

Access the NFS share in Win7/10:

1. Install the nfs client (client) program.

Run Win+R-- > control Control Panel-- > programs-- > turn on or off the windows feature-- > NFS Services-- > check "NFS client"-- > OK.

two。 Run Win+R-- > cmd-- > enter the following command.

Check the list of shared resources: showmount-e 192.168.11.11

Mount shared resources to K disk: mount 192.168.11.11:/usr k:

Open sharing: win+E--- > double-click the K disk icon

Additional operation: uninstall shared K disk: right click on K disk icon-> disconnect

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