Hello friends after a long time i am back And now we are trying to explain the ftp server
So lets Star :)
First Of All some defaults on ftp server
1 Ftp document root is /var/ftp/pub by defaults.
2 Root is not allowed to access the ftp server
3 Anonymous or Guest user is allow to login on ftp server and access pub directory
4 All the local users are able to login on that service but the also get there home directory
5 Threw Ftp service we are instead on pub directory
6 Anonymous is direct login in the ftp directory we are able to change the directory with the help of cd command
Service Profile
1 Package ------------> vsftpd
2 Daemon -------------> vsftpd
3 Port -------------> 20 or 21
4 Script -------------> /etc/initd/vsftpd
5 Config files --------------> /etc/vsftpd/vsftpd.conf
/etc/vsftpd/user-list
/etc/vsftpd/ftpusers
6 Log file -------------> /var/log/xferlog
SO after this time comes to setup the ftp server :)
1 Install the package of the ftp server vsftpd
Syntax :- yum install vsftp*
here wr are install the package threw the yum server if you are no know about the yum server then read from here
2 Now times come to start the service :)
Syntax :- service vsftpd start
3 Now we are going to ru over service in all run levels
Syntax : chkconfig vsftpd on
In this we are allow our service to run or on in all the run levels like 2,3,4,5
4 Now Our ftp server is ready to use For sharing the file or document we are put or file or documents in the /var/ftp/pub . We are able to create directory in this pub directory.
How to Get access on client side
We are using the ftp client on windows machine for that work but in Red Hat Linux Or Other distributions of linux wer are able to get ftp access
Syntax : ftp <ip adress of ur machine >
in this we are using ftp command for connecting with the ftp server or ip address like 192.168.0.0 like ur machine ip address.
Thanks for reading Every thing for INDIA Jai HIND _/\_
So lets Star :)
First Of All some defaults on ftp server
1 Ftp document root is /var/ftp/pub by defaults.
2 Root is not allowed to access the ftp server
3 Anonymous or Guest user is allow to login on ftp server and access pub directory
4 All the local users are able to login on that service but the also get there home directory
5 Threw Ftp service we are instead on pub directory
6 Anonymous is direct login in the ftp directory we are able to change the directory with the help of cd command
Service Profile
1 Package ------------> vsftpd
2 Daemon -------------> vsftpd
3 Port -------------> 20 or 21
4 Script -------------> /etc/initd/vsftpd
5 Config files --------------> /etc/vsftpd/vsftpd.conf
/etc/vsftpd/user-list
/etc/vsftpd/ftpusers
6 Log file -------------> /var/log/xferlog
SO after this time comes to setup the ftp server :)
1 Install the package of the ftp server vsftpd
Syntax :- yum install vsftp*
here wr are install the package threw the yum server if you are no know about the yum server then read from here
2 Now times come to start the service :)
Syntax :- service vsftpd start
3 Now we are going to ru over service in all run levels
Syntax : chkconfig vsftpd on
In this we are allow our service to run or on in all the run levels like 2,3,4,5
4 Now Our ftp server is ready to use For sharing the file or document we are put or file or documents in the /var/ftp/pub . We are able to create directory in this pub directory.
How to Get access on client side
We are using the ftp client on windows machine for that work but in Red Hat Linux Or Other distributions of linux wer are able to get ftp access
Syntax : ftp <ip adress of ur machine >
in this we are using ftp command for connecting with the ftp server or ip address like 192.168.0.0 like ur machine ip address.
Thanks for reading Every thing for INDIA Jai HIND _/\_
0 comments:
Post a Comment