Wednesday, February 24, 2016

Connecting ftp Server with Anonymous User Part 5



Step-7: Connecting ftp Server with Anonymous User

            Enable upload & Download access Permission for anonymous user:


Download

/var/ftp/pub is the ftp path for anonymous user to upload and download. If you want to provide download facilities for anonymous user, you have to keep default value (YES) for anonymous_enable (line no 12)
In this situation I m describing how to keep RHEL5 dvd file in /var/ftp/pub directory that your all clients can download & install packages via ftp server using yum.

Step-1: Copy the entire file from DVD source & keep it to /home/rhel5 directory

Step-2: Create a repository file for the DVD source in to the same directory

Step-3: Now create an ISO file for this DVD source named RHEL_5.4.iso in to /opt directory

Step-4: Now mount the ISO file in to /var/ftp/pub directory

Step-5: Now finally tell to your clients use this directory by configuring yum in every clients machine

Step-6: To download packages via ftp by using yum, you have to tell ftp full link in yum.conf file

Note: For more information see Yum configuration (also FTP section)

Upload

Generally, the anonymous user has no permission to upload file in ftp server. To provide  upload in ftp server follow the steps:

Step-1: First create a directory in to /var/ftp/pub named “upload” & provide required permission for this directory

[root@ftp ~]# mkdir /var/pub/upload

[root@ftp ~]# cd /var/pub/

[root@ftp pub]#chown root:ftp  upload

[root@ftp pub]# chmod 777 upload

Step-2: Now restart all the required services

[root@ftp ~]# service iptables stop

[root@ftp ~]# service network restart

[root@ftp ~]# service vsftpd restart

[root@ftp ~]# chkconfig vsftpd on



Step-3: From windows machine Open Internet explorer and then type ftp://ftp.alphabd.net, then you will see the pub directory as like below
 





MAXIT INTERNET

BLOGGER

CD DVD RW

DELL

DOWNLOAD

FTP Server Linux

HACK

HARD DRIVE

HOW TO WORKIN

HARDWAER

INTERNET

INTERNET CAFE

LAPTOP

LENOVO

LINUX

Additional configuration for Samba Server (Part 2)  

BSNL/Airtel/Idea using Huawei E156G 3g Wireless USB Linux 5   

Basic File Extensions    CHANGING AN ACCOUNT EXPIRATION DATE   

Configure Linux as a Router   

Configure SAMBA Server (Part-1)   

Configure VNC server   

Configure Yum Server (Part-1)   

Configure yum server for Client machine (Part 3)   

Configuring Samba as a Standalone Server (Part 3)  

Connecting ftp Server with Anonymous User Part 5  

Create ftp account with Shared directory Part 3  

DHCP Server Configuration Part 2  

DHCP Server Configuration Part-1  

DHCP Server Configuration Part-3  

Enabling FTP Services in Yum Server (Part 5)  

FTP Server Configuration Part 1  

FTP Server How to Change In Primary DNS Server Part 2  

HTTP Client side configuration (Part 4)  

How to Vsftpd conf files Parameter Part 6   

LINUX FILE SYSTEM STRUCTURE  

Linux User Administrtion  

Linux as a Router configuration for Client Machine   

Linux client machine FileZilla FTP Client Part 4  

Local Yum Server (Part 2)  

Modifying Existing User Information  

Primary DNS Server Configuration Part-1  

Primary DNS Server Configuration Part-2    

Primary DNS Server Configuration Part-3  

Remove Linux From Your Pc Safely and restoring your MBR  

Sharing & Accessing Samba Share (Part 4)   

Speeding up your internet connection under Linux and Windows   

THE ROOT FILE SYSTEM   

VNC Server Configuration

LINUX LAB

Linux as a Router

MOTHERBOARD

Mobile

NETWORKING

REDHAT 5

REGISTRY EDTOR

RESET BIOS PASSWORD

SAMBA Server Linux

SERVER

SERVER CONFIG

SOFTWAER

VNC server Linux

Window 10

Window XP