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

Set up ftp service

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

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

Environment introduction:

There is a newly installed (minimum + developer tool) linux system locally, without any modifications. Please complete the experiment according to the following requirements. Root password 123123

1. Configure the static ip address as 192.168.100.130 Universe 24, and the gateway as 192.168.100.1dns server address 192.168.100.100. Turn off the firewall.

Configure a local yum source using a local CD

Mount the CD and realize automatic mount on boot.

Install vsftpd

Create the user teacher and specify the home directory as / ftproot and the password set to pwd@123.

two。 Create a logical volume / dev/ftp_vg/ftp_lv with a size of 45G using / dev/sd {bforce c ftproot d} and mount it permanently to the / volume directory.

1) Partition the hard disk (nMurpmur1-enter-enter-t-8e-w)

The other two hard drives operate the same way.

2) reload

3) create a pv

4) create a vg

5) create a lv of 45g

6) formatting

7) permanently mount to the / ftproot directory

3. Install and configure ftp for the school according to the following requirements:

1) there are three directories under the ftp root directory:

Benet5.2 requires all students to upload assignments (upload files cannot be: * .rmvb,*.mp3,*.avi,*.exe) but cannot be downloaded, and teacher is required to authorize and download student assignments to this directory.

Public requires learning materials to be shared, students can download but not upload, teacher can upload and download

The Teacher directory is accessible only to teacher and not to anyone else.

(use:% g / ^ # / d to delete comments:% g / ^ $/ d to delete blank lines)

2) access the test and verify it.

Windows accesses ftp, uses teacher users to log in and create Benet5.2, Public, Teacher directories, establishes class directories and authorizes them under Benet5.2, uploads resources to Public and Teacher directories, and closes the window.

At this point, the creation of ftp experiment is over. Thank you for checking.

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

Network Security

Wechat

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

12
Report