RHEL 6 Linux Bset Gude

RHEL 6 Linux  Bset Gude
Ajay Saxena

Sunday 14 April, 2013

Configure FTP Server

FTP (File Transfer Protocol):- It is a server used to download & Upload files from server.
FTP Port No. 20 & 21 [21 is main], SSH Port No. 22 
How to Configure FTP Server 
  • Go inside of Packages folder 
  • #rpmᶲ-ivhᶲvsftpd_____ (Press Tab only one time) ← Run this command for install FTP (Server) Package. 
  • #cdᶲ/var/ftp ← Here ftp is default directory. You can create here your any data like files. And then if you’ll access your ftp server on client side with his IP, then you can get that all ftp folder data.
  • But firstly you need to start that server services.
  • #serviceᶲvsftpdᶲrestart← for restart FTP (Server) services.
  • #chkconfigᶲvsftpdᶲon← for ON FTP (Server) services.
  • #systemᶲconfigᶲfirewall← It is most important to check firstly Firewall Disable or not. If it’ll enable so you can’t access that FTP on client side.
  • ftp://192.168.0.2 ← now go to client side and open any Internet Browser and type there FTP Server URL (Path of FTP Server). 
How to Access FTP through to Terminal 

  • Firstly we need to install on client side of that FTP Client Package. 
  • #rpmᶲ-ivhᶲftp_____ (Press Tab only one time) ← Go to Client side and run this command for install FTP (Client) Package. 
  • #ftpᶲ192.168.0.2← 
  • Go inside of Packages Folder 
  • #rpmᶲ-ivhᶲftp(_______) it means press two time tab ← That’ll show you all ftp Packages. 
  • serviceᶲftpᶲrestart← For restart service. 
  • chkconfigᶲftpᶲon← For On Service. 
  • System-config-firewall← Check Firewall and Disable. 
  • Open your Terminal 
  • Check firstly is in there both are proper Pinging or not. Then 
  • Type in Terminal ftpᶲ192.168.0.1← (Server IP) ← For Access FTP server data through Terminal.

No comments:

Post a Comment

Thanks for come here..