Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please send screenshots and descriptions to the questions below Case Project 4-1: Set up an FTP Server in Ubuntu Server anonymous_enable=NO Disable anonymous logins. local_enable=YES

Please send screenshots and descriptions to the questions below

Case Project 4-1: Set up an FTP Server in Ubuntu Server

image text in transcribed

image text in transcribed

anonymous_enable=NO Disable anonymous logins.

local_enable=YES Remove the # to uncomment the line and allow local users to log in.

write_enable=YES Remove the # to uncomment the line and allow users to write to a directory.

image text in transcribed

image text in transcribed

Case Projects 205 Ubuntu has several text editors; we'll use the vim editor. Let's first install the editor: sudo apt-get install vim 6. Now let's edit the FTP configuration file: sudo vim vsftpd.conf Here are a few tips on using the vim editor. You can find out more about it by doing a Google search: e Use the arrow keys to move over the file. 4' e our VM screen. To leave Insert mode, press Escape. To save your changes, type w e To exit without saving your changes, type :q. To save your changes and exit, type :wq. listed. Part of the file, including the three lines, is shown in Figure 4-39. The defanIt compi led in settings are Fairly paranoid. This sanple rile Plcase sce usf tpd.conf .S for all conpiled in defaults. onsens things ap a bit, to nake the ftp daenon nore usable KSAD THIS: This example file is NOT an exhaustive list of usf tpd opt ions Please read the usf tpd .conf .5 nannal page to get a full idca of vsftpd's capabilities han standa lone? usf tpd can run either fron an inetd or as a standa lone dacmon started fron an initscrpt isten-TES Bn standa lone uith IPu6? Like the listen paraneter, except usftpd uill listen on an IPu6 socket instead of an IPut one. This paraneter and the listen paraneter are nutually exc lusiee lizten ipu6-VES al lou anonymous FTP? CDisabled by default) inconment this to allou local users to log in. 1 enab le- YES Ucomment this to enable any forn of FTP urite connand befanit onesk far loca1 users is 077. You nay wish to change this to 022, ur esers expect that (022 is used by most other ftpd's) ccmmeut this to allou the asonuynous FIP user to upload files. This only es an eSect if the aboue global urite enable is activated. AIso, you uill abvloes ly wend to create a directory uritable by the ITP user Figure 4-39 So Part of the vsftpd.conf text file 206 Chapter 4 Structured Cabling and Networking Elements S. Exit the vim editor, saving your changes. Restart the FTP service using this command: sudo restart vsftpd 9. To test your FTP server using the local machine, enter ftp 127.0.0. 1. Then enter your me and password. Next use the dir command to see a list of directories and files. You should see the mydir directory that you created in your /homelusername directory when doing Case Project 3-1. Type bye to disconnect from the FTP server. 10. To find out the IP address of the server, type ifconfig. 11. Go to another computer on your local network or in your virtual network and use the same commands in Step 9 to connect to your FTP server, this time using the IP address of your server rather than the loopback address. lf you want to transfer files with FTP commands, use the get and put commands

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions