Exam EX200 All QuestionsBrowse all questions from this exam
Question 9

SIMULATION -

Install a FTP server, and request to anonymous download from /var/ftp/pub catalog. (it needs you to configure yum direct to the already existing file server.)

    Correct Answer:

    To install an FTP server and configure anonymous download for the /var/ftp/pub directory, follow these steps for a typical RHEL-based system: First, configure the YUM repository if it is directed to an already existing local file server. Edit or create a YUM repository configuration file, for example, use the command 'cd /etc/yum.repos.d' and then 'vim local.repo'. In the 'local.repo' file, add the following lines: [local] name=local.repo baseurl=file:///mnt enabled=1 gpgcheck=0. Next, update the YUM cache with 'yum makecache' and then install the vsftpd package using 'yum install -y vsftpd'. Start the vsftpd service with 'service vsftpd start' and ensure it starts on boot with 'chkconfig vsftpd on'. Verify the service configuration with 'chkconfig --list vsftpd'. Modify the vsftpd configuration file with 'vim /etc/vsftpd/vsftpd.conf', setting 'anonymous_enable=YES'. Restart the vsftpd service to apply the changes with 'service vsftpd restart'. This will allow anonymous users to download files from the /var/ftp/pub directory.

Discussion
jujuonbeat

FTP stuff no longer on RHCSA from 2019

Rahul95

Not valid for RHCSA 9

[Removed]

Are you guys certain that this isn't a question asking you to configure a local YUM repo? If so, the first half of the solution is correct (except for the base URL): # cd /etc/yum.repos.d # vim local.repo [local] (can be any name in brackets) name=local.repo (any name you want) baseurl=/var/ftp/pub (local repo's network location) enabled=1 (duh, enabled) gpgcheck=0 (doesn't perform check)

Mari685

need some details about redhat can you please dm me on my instagram luvkhan123 please

qolani

How do you check if your configuration is done correctly?

14_aman

WHY FTP WAS NOT ADDED IN FIREWALLD? IS FIREWALL DISABLED ALREADY IN MACHINE?

Mari685

can i have some details about redhat? can you dm me in my insta page luvkhan123 plz

corpio

Thts correct