How to setup FTP Server in Linux Part 1

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so we have the 100 server Palvin ftp server so now in this class we'll go for how to set up the ftp server in the Linux MP so what is pp actually so the FTT stands for the file transfer protocol so FTP server using for uploading and downloading the files or the Intermec or implement intranet means that a better land so FTP uses the fourth tip embark 21 actually and analyze don't they also suppose you have a system 1 and system 2 both of the land systems system 1 and system 2 both of the - suppose if you want to copy some files from the system 1 2 system to what we'll do the border system there in the land you want to copy some files from the one system to other system we can go for SCP SCP not about a strict your top key choose it to power to the files are transfer the files between the two remote landing missions between go for it see see suppose example in the system 1 we have some file one is there and you want to copy into system to detect robot SCP and where the file one is that the source and destination so system to under system - you want to copy into temporary setup and the similar way you want to pop you from this due to system 1 same process from system 1 only what you can do SCP which is the source system 2 is a source and a temp is that destination centromeric voltages are practically what is Cpl so I'll show the practical is CB so this one line X mission input the Cypress is 256 192 dot 168 ascent at 236 so I have 1 1 line exhibition tutorial for suppose let us example go to the lining system 1 so there is some very typical my files present no files actually now this file you want to copy into the system - so what a system - I pay this is a 2:24 - other system so we'll go for a CP the command slash my data and a pile one where you want to copy it the remote system I say this is 234 under this destination system of jha'dur if you want to copy it stamp directly she's asking about the authentication key says it was the password about the second system so the copies you want to verify go to the system - so LS /tmp so you like to file one point not a TMP and the second system at the NP which are some 500 am that block and this you want to copy into it was an open system say CP you want to copy into my data edit for example the topic but now you can finish to crawl um I can say if the two lioness missions are there to other more - missions we till for best CP we can able to copy the files or plans for the files with filter one mission to other missions but say example No so we have one system is a Linux another system is Windows then how we can able to send your files and mix with the files and we have one more system with the Macintosh then how we can send the files in visitor box so between the language to Linus news we'll go for a CD we can do it and for this point of view now what you can do we can build a ftp server so we tell for the ftp server what it can do i can even upload the files and we can download the files from any operating system also and how to set up the ftp server in the linux or the same - is the Linux operating system is called a FTP SFTP so Venus symptom is the very secure FTP file plus the product so before starting the before turn appear in the NES however what the things we need to look the purpose so we are planning to go for the empty a server because they have given the task attempting one system is - and register the missions may be the line is serving those are Mac and you want to send the files or you want to transfer the files upload your files or download two files from different different operating systems for that we need to go for the setup the FTP server so before calculate the anus however what the things you need to know what the package is required for the configuration files and the services the package is for FTP to the vs FTP to the package and the foundation file name is called under a TC v SFTP D and V is simply to that convey file is the configuration file and the services is tunnel via safety it is a service so now I will go for how to set is FTP server so the first thing will go for such TP so when I go for a message FTP and if you can say this point to that all the software's are available f PP l FTP T of TB but in this actually we require via safety PD so let me find out whether it is empty will install a lot accomplished via safety so it is showing you the available packages the meaning of this point is not it installed was only available in the time reported free so to install this package now what it can do I am installed SFTP D for the confirmation say why - why so now the pack is installed and again go for the command you can say M Christians avi SFTP D we can verify so now before we got like a available packages now it is flowing is installed now the V is safety bit is installed so the configuration file for the vs fdtd underneath is he directed vs FTP D and V is safety PD that can file the configuration file then by default in this configuration file you can see this one hello and ominous then ominous means any user an ominous enabled su this we can able to connect to the FTP server by the which user an ominous users and I will dismiss any user so I'm not modeling anything in this file just I'm going to save this file with this file and you need to start the services for FTP server so the systemctl and the status the service name is the BSF KPD so right now the vSTEP liquid is not started so to start FTP server tau start now see the status now so now the FTP service is running but again if you reboot the system what will happen the service is going to down to make it active what you can do every time you need to enable just service so you protect the command it can is enabled next time onwards even if you reboot the system also the V is ship if it is service is going to start automating now this is the FTP server so how we can able to connect to the FTP client now this FTP server so the five maybe 10 Sigma T windows or it may be Linux also but how to connect it so Cypress is 2 comma T 6 so we have FTP server when it's I play addresses one ninety two dot one sixty eight dot 10.2 26 and we got other missions called as FTP clients are there so there is the same network same network miss 192 dot 168 at 10.2 24 and other mission maybe and this maybe is Linux and I got one more mission against the windows and if sigh plate that is 225 so how do you the FTP top from this client missions how we can connect to the FTP server so pages from the Linux edges from the windows / windows what I kinda miss we put is command prompt we can type the command FTP space FTP server IP address pages from the windows array from the line is what it can do open the command prompt and FTP space and API server IP address so I will go to the windows mission so first of all I'll ping to open the command prompt start and go to Japan and go to the CMD so you right now we're in which location and s Leroy and I use is baba directory and ping to server ITA this these are applied the communication is that nobody can do means will go for command you can say please and if people server IP address and is asking for you the lip I you just made a num'rous or you can type FTP also and the password is the blank pass better spectrum filter by swelling and ominous see now is that login successful by default what is going to happen means whenever he installed FTP server is going to publish the digital it finish pop directory the pay one install FTP server automatically underwear directory you can go to the wire it'd be whenever against all the BSF DVD package it is going to create one more terrific pellet FTP and FTP directed going to create like it bub-bub means public directory now under public directory right now demo files so whatever to miss the example like if I'm creating from two points where I'm creating these two files in the server so right now in the server system which direct is available by default what is connect to the FTP server when installed FTP server by default automatically created or if we found it on the server system the server one ninety two dot one sixty eight dot ten dot 206 so under this one is automatically you get directly funded and there are FTP that it free to create a pub directory so under popular if you know I have a pile one find a file to so when if connect from the client mission from any client mission when it connected which is ultimately what Philip change is a boon to publish which directly pop that it opens public so now if you go to the client mission so it is automatically can stop connecting with the anomalous username when you say command you can say the heir to mine we got which data is available popped I'd freeze available you can set the directory so this FTP commands you can go for dir command F either for Windows the line is also the app to commence a different so the next step what is it means you can change into the pub directory so speed is space of so directory successfully changed you can go for command you can say PWD so right now is which directly pop directory now say the air Tomer so if you say the air command is going to display the files what will create it in a teepee server file one dot txt and pi2 dot txt now there is some commands difference will greater in a client mission if you say DAF displace the files in FTP server files in buried prison FTP server and not symbol the AF display the files in buried phrase in your local orbiting pundit FTP client mission so now we can see the difference here we go persist one written our client omission say tau is home to discipline the files and directories in FTP server and not symbol d'ya say it's going to display the files and directories at which place and thus leave Roy uses bhava directory and these are the sub buried treasure dear Miss Barry freeze suppose example here from notepad if we create some files example say well and I am going to save this file and then see it right and I uses the buffer directory but I mean we can say file 3c now we see not simple tyria consider you got a one more pile pile - yes while the dot txt the file is develop in which place declined mission and de Armas is going to display the files and directories in FTP server and not symbol de Armas is going to display the files in that it faced in FTP client so initiative how we can download this files I want to download this file slow so how to download so from the client division you go for a command you can say get is a command of a connect into FTP server get is determined so get space pilot for downloading the files so dead space what are the file name in it TT server in FTP server I have the file 1 dot txt this is going to download now so now what I can do FTP space in FTP server for the files are they file 1 dot txt and file 2 dot txt and now these files my snow is not available in the my client mission in my client mention what the file is this file 3 dot T is too old but now I want to download the file 1 dot txt you can go for the command get space the files which are available in the FTP server so get space file1 dot txt and enter see now the file is downloaded and how to verify will is downloaded in the prime system so in the file system how to verify not symbol the air see now with actor a PI 1 dot txt is downloaded now even if you go for the line-x mission also on the client becomes I have the line equation from here also the same thing so first bring to the server is emerging or not so is communicating so empty sorry TPP that FTP server I'll PSS here the FTP client is not installed so I am installed at KP the client soft is not available so now they've typically int is downloaded so now you can go for FTP space and FTP server IP address your remaining is from like naming confusion will be done maybe the system one system to system please like this we do D and this is configured directly what it can do we can type the name own surrounding so you can pass username you can say indominus sorry can't that username is it TT also and a password is blank password just press enter so login is successful so now if you go for command it can say dear come on so it's going to display where the right luggage directory is go to discipline the Bob diet free now we need to change in this pop territory so the PWD so we're in the pop that if you know so even from the client is mission a Windows machine also both are same now if we see the command it can stay the air come on so we have to file one dot tht in file to dot txt are available and these are the which place in FTP server now you want to see the files which are in the FTP client mission what you can do not simple gif so these are the files in FTP client motion this example does ABCDE and anaconda at is dot CSV now I want to download this file to put a command simple command dead space file to dot txt since downloaded and how to verify not super the air so now with that file to dot txt is available so by using an ominous user how to download the files with that idea now so now we got FTP server and FTP client and now from the FTP client how to upload the files suppose latest example is my Windows machine and a JIRA got the file three dot txt and this file I want after load so here the command you can say put the command put space the filename but what is going to happen we check it out by default an ominous uses they can't table top load any files we'll check it off so not simple d.i.y are in my Windows system files a dot txt is available and despise the duct industry amount of load to FTP server you can say the Air Command in FTP server so the Commission timed out I can correct it opened just our own IP address so right now with the PI 3 and PI 1 is available my Windows machine and say da comment and go to the pub target print say here so then you know files a dot txt file is not available in the FTP server now this file 3 dot T is the amount of flow for the command put space file dot txt then yep so what happened here you can see here permission denied so why the permission is denied an FTP server we have the directory called everywhere FTP and pub territory so the pub directory will go on top load is files and to the pub directory we can see the permissions I will go to the FTP server so I'm in the VAR FTP directory CLS means we have the pub directory and you want to see the permissions of the pub directory LS - LD and see the pub that it fit and it ends in the permissions the rwx depends only the user has a full control and a group and others see how only the permissions card is it reading it you could publish the soul so from FTP client any user can ominous means any user they don't have the right permission and that's when we aren't able to upload the files so the first of all water will do miss I'll change the write permission goal is that it free we have the command idea chmod command so hopefully W sub ends bothers I am going to provide write permission now so now if you go for LSF in LD of territory you can see here for others also I got permission and Ageing rwx now we can take it out and steal which you don't have the permission put in the space the file name again still you got the same problem under permission denied because a by default you can say now - users they turn tables upload any files now we'll go to the FTP server open the configuration file of the FTP server vm / GG C vs F key B D and V is MPP d.com pipe so this hold on little bit then some option it can say and on upload and our upload to the comment is there another floor SC there and I'll upload analysis the comment is there so by comment means actually nothing but it disabled what I need to do is uncomment this line and on upload its uncomment now what you can do save this file so whenever you can modify the any services data configuration files what need to do this you need to restart the service so the systemctl and a waste just obviously for it TP server ESF TPD so it disconnected basically because the reason we restarted go to by then FTP space and FTP server IP address is we can type the username is FTP or you can add anomalous aloe plant phosphate so or the area so we need to change to the pub directory first change the pub directory so right now I am in the widget directory from dairy free of FTP server now in my client mission I have the file called is file 3 dot txt and this file is not available in the server the server we have the file1 and file2 own now we want to upload this file put space file dot txt so now it will transmit dossier determined now in the FTP server we have the file1 file2 fine three hours now we'll go to the one more client machine to exist from the FTP use the command again say bye so FTP space and FTP rightly this again I'm connecting now say dear so change to the pub directory so we got file 1 PI 2 pi 3 now my little bit mind mission so I got some files are there or list mind and unbundle file this files installed at laugh and now these files you want upload so put is a command and say space file live she's uploading IRA put it the combined find filenames so this all this files are uploaded so how to verify CDI come and see if you got all these files are available FTP server so maybe can go to FTP server and go to the pub pirate print so all of these files are available so we got a idea how to set of the FTP server and how to download the files from the FTP server and to upload the files to FTP server what things you need to modify the first one we need to provide a full control permissions for the salsify refrain FTP server and this tip you need to go for P is simply configuration file you need to go for uncomment for an upload then you need to restructure service then we can even upload the files the riched one how to check it out the log files for ftp server and a server system go to ftp server system and go to bar that it free under log valid free since Nam in the bar and log directory see all the log files are available under bath and log very free like to say the command it can say LS command we can find out one of the log by x FP r block this is part FTP server log type ipython this file we can able to identify poor connected to my self-worth and who are download would upload the water files go to the file name say I want to see the last 10 lines of this file tale last 10 lines we will go for 1001 and from here you can see this one one of the client machine you can say 10.2 25 so is not displaying all the minds run the command one more time you can see here from this client machine from 245 here this you connect it to pop directly downloading the files and he uploads this is a file and again from now one more time dimension from 224 so he is downloaded upload this is the files so who are connected to my FTP server and which while they are downloaded which file they uploaded to find out what it can do we go to this log file which is log file is available under bar directly under log anything on the log files available under bar and long-buried so after now what we did we got idea about like how to set up the FTP server and FTP client so we need TP server to the land X and how to make the FTP client and how to connect it then how to download the files then how to upload the files then second the log files
Info
Channel: gv
Views: 14,571
Rating: undefined out of 5
Keywords: How to setup FTP Server in Linux?, RHEL 7, Cent O.S, RHCSA, RHEL, 9848134792, FTP, Linux, Linux admin, Unix Administration, online training
Id: BasDGHYnGD0
Channel Id: undefined
Length: 45min 46sec (2746 seconds)
Published: Wed Nov 29 2017
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.