Linux Ftp Server
hello all im using UBUNTU linux and i want to know how do i use it to be an FTP server.
|
By running ftpd, an ftp daemon that deals with the ftp connections, and configuring your firewalling and ftp to ensure security as well as you can. Running an ftp server should produce no big problems, but making it secure will.
I suggest searching at google and LQ (the Search function) for information about this. And read ftpd man-page. |
the most popular ftp daemon r vsftpd and proftpd.
i personally use vsftpd. all u need to do in ubuntu is : Quote:
|
hello doronunu
-they say that VSFTPD is one of the best ftp linux server. so i tried to download it from its website. but the problem is that i have a hard time understanding the incomplete manual the i found on the net on how to install it and there are no more manual i can found very useful. -and if i will use use the apt-get how do i know which folders contains the files of VSFTPD. -hope you can help me here. |
Using apt-get, I suppose you don't need to know where the files are. apt-get will install the vsftpd program for you. You only need to take a look at the configuration files, which should be in /etc, as usual.
root access will be required to both configure and run the vsftpd service, probably. |
as timmeke said the vsftpd.conf file is at /etc or /etc/vsdtpd/
depend on your distro. this my conf file : Quote:
|
-thanks for the info.
-is there a way for me to specify where my vsftpd will be installed. |
Why would you need to do that?
If you install it from rpm, I doubt you can choose where it is installed. It'll get installed in the default location then. If you compile it from source, on the other hand, you can put the compiled program anywhere you like, I suppose. |
- well just to be organized so that its easy for me to know where to look.
- anyway im using ubuntu desktop so if i will install vsftpd what are the folders where it will installed. will it be installed in 1 folder or will it be scattered on different folders. |
1. If you're indeed using Ubuntu, try updating your LQ forum user's profile. This will make the distro show up on the left, below your forum username, which is easier for other forum members.
2. I have no experience with Ubuntu or Debian. But doesn't your package manager provide you with an overview of the contents of the installed packages? Most likely, it'll spread over multiple directories (ie library files, programs and man pages/documentation are stored separately), but if your package manager (apt-get) handles the installation, all files will most likely be put in the right places. |
Having been through this not so long ago I'd suggest that you let apt-get install in the default locations. It's difficult enough to set up without having to "translate" the paths mentioned in the documentation into your paths.
I use proftpd and the learning curve is very steep until you grasp how the whole thing works. As mentioned earlier securing your system is a non-trivial exercise. If documentation is your problem then proftpd might have better documentation in the sense that there is a lot of it. On the other handwrapping your brain around it may take time. |
yes there is a way to put the file in one place what u dont wont to do that.
i have a news flash for u... welcome to linux Dude. every file have a meaning and it should be in the directory that point that meaning. /etc/ should have all the configurations files. /lib/ the library files /usr/bin the binaries files (or the programs (commands)) files /usr/sbin the system binary files (the program/commands for administration) /usr/share/DOC all the documents file. and so on and so on. the package u installing with apt-get put the files in the right directory. (you can know which go where but i dont romember the command probably apt-cache something, the last ubuntu i used was 5.04 so i dont remember, read the man page). if you put all the file in one directory that u choose the may not know where the files r and cos of that not work. by the way to put them in the same directory you need to write Quote:
all you need to know in the vsftpd server is that the .conf file is on /etc and the files that uploaded or seen by the users when they log in r the're home directory. |
Quote:
|
Quote:
. |
Quote:
|
All times are GMT -5. The time now is 12:13 AM. |