There are several ftp servers to be used with Linux, but I like vsftp, and always use it for my work. It just require a command to install..
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
[root@mailserver ~]# yum -y install vsftpd Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirror.cogentco.com * base: mirror.steadfast.net * extras: mirrors.greenmountainaccess.net * updates: mirrors.serveraxis.net Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package vsftpd.x86_64 0:2.0.5-16.el5_5.1 set to be updated addons/filelists | 197 B 00:00 base/filelists_db | 4.0 MB 00:00 extras/filelists_db | 220 kB 00:00 updates/filelists_db | 2.2 MB 00:00 --> Finished Dependency Resolution Dependencies Resolved ========================================================================================== Package Arch Version Repository Size ========================================================================================== Installing: vsftpd x86_64 2.0.5-16.el5_5.1 updates 139 k Transaction Summary ========================================================================================== Install 1 Package(s) Upgrade 0 Package(s) Total download size: 139 k Downloading Packages: vsftpd-2.0.5-16.el5_5.1.x86_64.rpm | 139 kB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : vsftpd 1/1 Installed: vsftpd.x86_64 0:2.0.5-16.el5_5.1 Complete! |
Now start ftp service
1 2 |
[root@mailserver ~]# service vsftpd start Starting vsftpd for vsftpd: [ OK ] |
Run port scan to see ftp port is open or not
1 2 3 4 5 6 7 8 9 10 11 12 |
[root@mailserver ~]# nmap localhost Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2010-09-29 07:28 MDT Interesting ports on localhost.localdomain (127.0.0.1): Not shown: 1676 closed ports PORT STATE SERVICE 21/tcp open ftp 22/tcp open ssh 25/tcp open smtp 80/tcp open http Nmap finished: 1 IP address (1 host up) scanned in 0.085 seconds |
Comment Policy:
Your words are your own, so be nice and helpful if you can. Please, only use your real name, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.