Friday 16 August 2013

How to make FTP server on redhat linux

 FTP Server on RedHat

It is a file transfer protocol, which is use to transfer the file and receive the file from a Central server up to client, it work at application layer of OSI model and port no. is 20 & 21. port no. 20 is used for connectivity and port no. 21 is used for send & receive data.

FTP Important note:-


  •  The configuration file for vsftpd is "/etc/vsftpd/vsftpd.conf"
  •  By default root user can't access ftp server
  •  By default other user can't access ftp server
  •  By default anonymous user can assess ftp server & it need no password.

Server configuration:-


Step-1 install vsftpd package
#yum install vsftpd*
(package is installing from yum server)

Step-2 make changes in vsftpd.conf file

#vim /etc/vsftpd/vsftpd.conf

Step-3 restart ftp service
#service vsftpd restart  (Service on temporary )
#chkconfig vsftpd on (Service on permanent)


Step-4  Make directory as per requirement

#cd /var/ftp/pub
#mkdir upload download
#cat /download file1


Client Configuration:-


Step-1 Now access ftp server

#ftp 172.24.0.56  (change ip address as ftp server ip)
user: anonymous
Password: (No password require)
>cd pub
>cd download
>mget file1 (mget use for multiple file)
or
>get file1 (get use for one file)
>bye (bye use for exit from ftp)
or
>quit
>good bye (Reply from server side)

Monday 22 April 2013

FTP server and client configuration on Redhat Linux

It is a file transfer protocol, which is use to transfer the file and receive the file from a Central server up to client, it work at application layer of OSI model and port no. is 20 & 21. port no. 20 is used for connectivity and port no. 21 is used for send & receive data.

FTP Important note:-

  •  The configuration file for vsftpd is "/etc/vsftpd/vsftpd.conf"
  •  By default root user can't access ftp server
  •  By default other user can't access ftp server
  •  By default anonymous user can assess ftp server & it need no password.

Server configuration:-


Step-1 install vsftpd package
#yum install vsftpd*
(package is installing from yum server)

Step-2 make changes in vsftpd.conf file

#vim /etc/vsftpd/vsftpd.conf

Step-3 restart ftp service
#service vsftpd restart  (Service on temporary )
#chkconfig vsftpd on (Service on permanent)


Step-4  Make directory as per requirement

#cd /var/ftp/pub
#mkdir upload download
#cat /download file1


Client Configuration:-


Step-1 Now access ftp server

#ftp 172.24.0.56  (change ip address as ftp server ip)
user: anonymous
Password: (No password require)
>cd pub
>cd download
>mget file1 (mget use for multiple file)
or
>get file1 (get use for one file)
>bye (bye use for exit from ftp)
or
>quit
>good bye (Reply from server side)
 

Monday 8 April 2013

domain controller

On Microsoft Servers, a domain controller (DCO) is a server that responds to security authentication requests (logging in, checking permissions, etc.) within the Windows Server domain.A domain is a concept introduced in Windows NT whereby a user may be granted access to a number of computer resources with the use of a single username and password combination.