Solved

CentOS 5.6 and FTP Server

Posted on 2012-03-13
4
937 Views
Last Modified: 2012-03-26
How do i setup an FTP server on CentOS 5.6 using command line?
0
Comment
Question by:deklinm
4 Comments
 
LVL 11

Accepted Solution

by:
legolasthehansy earned 125 total points
ID: 37716544
Do this,

yum install vsftpd

service vsftpd start //to start the FTP service
chkconfig vsftpd on //to make sure FTP service start on boot.
0
 
LVL 31

Assisted Solution

by:farzanj
farzanj earned 125 total points
ID: 37716546
Check if vsftpd is installed
chkconfig --list | grep vsftpd

You have to install vsftpd if not already installed
yum install vsftpd

Turn it on
chkconfig vsftp on

Start the service
service vsftpd start

For configuration details, look at this guide

Here is a guide:
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-ftp-vsftpd-conf.html
0
 
LVL 6

Assisted Solution

by:torakeshb
torakeshb earned 125 total points
ID: 37718645
0
 
LVL 5

Assisted Solution

by:1ly4me
1ly4me earned 125 total points
ID: 37719173
#yum install vsftpd
#chkconfig --add vsftpd
#chkconfig vsftpd on
###edit the FTP server config file 
#nano /etc/vsftpd/vsftpd.conf 
and disable anonymous login, enable local users to login.
anonymous_enable=NO
local_enable=YES

Open in new window

If firewall is enabled open port 21 for FTP
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question