You are not logged in.
Pages: 1
I just turned my old computer into a web server, LAMP stack so far and all is going very smoothly.
Now I have been getting by through wiki articles and forum posts, but as far as setting up an FTP server goes, I couldn't find any documentation (or very little) on the subject.
I don't need anything advanced, just something so I can fire up my ftp client, navigate to.. ftp.mysite.org, user name and password, then login and upload files to my website.
Setting up of servers is rather new to me, so I have no clue on how easy/hard this will be.
Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)
Offline
:D:DVery Secure FTP Daemon is your choice. It it secure and simple to set up.
Pacman -S vsftpd
Then Edit the /etc/vsftpd.conf. There are many documents on the internet about vsftpd. Search and set up your own server.
Offline
Ok, so I installed it, edited the conf file, open the ports (21 and 20) then started the daemon and I still cant connect to ftp.192.168.1.101
vsftpd.conf
# Example config file /etc/vsftpd.conf
#
# Use this to use vsftpd in standalone mode, otherwise it runs through (x)inetd
listen=YES
anonymous_enable=YES
#
local_enable=YES
#
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
# Activate logging of uploads/downloads.
xferlog_enable=YES
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
Any ideas....
Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)
Offline
I'm sure you tried ftp://192.168.1.101/ and not ftp://ftp.192.168.1.101/, didn't you?
Are you trying to access your server from the same subnet or from "outside"?
Haven't been here in a while. Still rocking Arch.
Offline
>> edit: what he said ^^ ^
you might also want to get a domain mapped to your external IP with something like no-ip.com or dyndns.com and then try with the name.
----------------------------------------
Ok, so I installed it, edited the conf file, open the ports (21 and 20) then started the daemon and I still cant connect to ftp.192.168.1.101
try it without the ftp., or try ftp://
$ lftp -u <user> 192.168.1.101
$ lftp -u <user> ftp://192.168.1.101
Last edited by slackhack (2007-06-01 12:47:11)
Offline
I'm sure you tried ftp://192.168.1.101/ and not ftp://ftp.192.168.1.101/, didn't you?
Are you trying to access your server from the same subnet or from "outside"?
I really do fail at tasks sometimes, thanks for sorting me out
Now... How can i make it so that the FTP lists files from
/home/httpd/
Last edited by Crooksey (2007-06-02 18:15:41)
Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)
Offline
my advice. Don't use ftp.
Use sftp instead. Not only is it FAR more secure, it also goes through more firewalls.
http://en.wikipedia.org/wiki/SSH_file_transfer_protocol
ftp is a blight that needs to be exterminated.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
I would suggest proftpd, with gproftpd as a frontend.
That's what I am using and I am quite happy with that.
Regards/
Offline
Pages: 1