Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to configure ftp server on redhat linux?

Answer Posted / sanjay

step 1- open this file
vim /etc/yum.repos.d/local.repo
[sanjay]
name=sanju
baseurl=ftp://192.168.0.0/repo (server IP)
enabled=1
gpgcheck=0

save the file and follow step 2

yum clean all

yum install vsftpd

mkdir /var/ftp/sanjay
chmod 775 /var/ftp/sanjay
chgrp ftp /var/ftp/sanjay
la -ld /var/ftp/sanjay

vim /etc/vsftpd/vsftpd.conf
go to line no 12 using se nu
anonymous_enable = YES
local_enable = YES
anon_umask = 022
anon_upload_enable = YES
save the file
service vsftpd start
chkconfig vsftpd on
chcon -t public_content_rw-t /var/ftp/sanjay
la -lZ /var/ftp/
getsebool -a |grep ftp
setsebool -p allow_ftpd_anon_write on
setsebool -p ftp_home_dir1(local user)
service vsftpd restart

then log in

ftp <server IP>
# anonumous

press two times enter because anonymous is using without
password if its successfully done means ur ftp is working

Is This Answer Correct ?    25 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I would like to know whether Simado and Setu products are they EPBX or not ?

2321


What are system calls used for process management in linux?

1047


Explain process management system calls in linux?

996


what are different ways the context switch happens from user to kernel space or vice-versa ?

2565