Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a Linux webserver (CentOS) and I wish to set up FTP access to the server. According to the IP table port 21 is open and connections to it are accepted but I'm not sure what to do now.

How do I go about setting up FTP users and enabling in on the Linux install?

share|improve this question

migrated from stackoverflow.com Nov 22 '11 at 16:56

This question came from our site for professional and enthusiast programmers.

1  
this does not belong here. –  Nayena Nov 22 '11 at 16:48
3  
This is entirely specific to the FTP server you are using (which you fail to mention), and almost definitely is well documented by the author(s). –  Chris Down Nov 22 '11 at 16:50
1  
@ChrisDown I do mention what type of server I am using (CentOS), and I'm sure it is well documented if you hadn't only started looking at Linux 3 days ago. I don't konw what I am looking for, which is why I am asking for help. If you don't have anything useful to add, please refrain from commenting - I already know I'm thick, you don't need to try and point that out. –  David Gard Nov 22 '11 at 17:03
1  
CentOS is not the FTP server, it is the Linux distribution you are using. Start by looking at man [your ftp server]. I haven't made any comment saying that you're "thick", despite your claims to the contrary, please refrain from putting words in my mouth. –  Chris Down Nov 22 '11 at 17:04
2  
I remember when this community used to be a question and answer site and not a "go RTFM, n00b!" site. –  Aaron Copley Nov 22 '11 at 17:50

2 Answers 2

up vote 3 down vote accepted

I think that out of the box CentOS has vsftpd installed. You can check this with

rpm -qa | grep ftpd
vsftpd-2.2.2-6.el6_0.1.x86_64

If it's not installed you can install it with

yum install vsftpd

Once installed you can start and stop it with the service command

service vsftpd start 
Starting vsftpd for vsftpd:                              [  OK  ]

or

service vsftpd stop
Shutting down vsftpd:                                     [  OK  ]

That's the basics, the rest involves reading the vsftpd and vsftpd.conf man pages.

share|improve this answer
    
Thank you, that helps a lot. As explained above I'm new to this so I had no idea what to look for. I've now managed to get it installed and working (ish), hopefully I'll be able to tweek it to exactly as I want it. –  David Gard Nov 23 '11 at 10:11

Here's the RHEL6 documentation for how to set up an FTP server using vsftp. This assumes you're using CentOS6. If not, there should be a corresponding piece of documentation for the specific release of RHEL/CentOS:

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-FTP.html

share|improve this answer
    
Thanks, I'll make sure to have a read of that. –  David Gard Nov 23 '11 at 10:13
    
Sure. That should be where you can look for the "official" documentation for CentOS/RHEL. Whatever documentation CentOS has will basically be a copy of what RHEL publishes. –  cjc Nov 23 '11 at 10:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.