CentOS Opening FTP port

centosftp

I'm not a server guru, just about know how to edit php.ini and few other bits, however I've been given a VPS to work with and keep getting connection refused when trying to connect to FTP,

Googled for a while but didn't find much about what to do,

I tried running

[root@s1 /]# rpm -q iptables
iptables-1.3.5-5.3.el5_4.1
[root@s1 /]# lsmod | grep ip_tables -L
(standard input)
[root@s1 /]# system-config-securitylevel
-bash: system-config-securitylevel: command not found

Could anyone tell me how I would go about opening the port 21 to be able to use FTP?

Best Answer

Here's the CentOS/RHEL documentation on setting up an FTP server:

http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-ftp-servers.html

(that's for CentOS/RHEL 5, but it should generally apply to 6)

Follow those instructions if you haven't actually installed and configured the FTP software.

Related Topic